package com.ruoyi.charge.auth.entity.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Slf4j
@Data
public class RefreshAccessTokenReq implements Serializable {

    @NotNull(message = "用户Id不能为空")
    @ApiModelProperty(name = "用户Id")
    private Long userId;
    @NotBlank(message = "refreshToken不能为空")
    @ApiModelProperty(name = "refreshToken")
    private String refreshToken;
    @NotNull(message = "账号类型不能为空")
    @ApiModelProperty(name = "账号类型 0 店铺商户 1 代理商")
    private Integer type;
}
